package com.shensi.api.admin.client.label;

import com.shensi.api.admin.client.fallback.integral.CustomerPointsClientFallBack;
import com.shensi.api.admin.client.fallback.label.CustomerLabelHistoryClientFallBack;
import com.shensi.api.admin.domian.label.dto.CustomerLabelDemoDto;
import com.shensi.common.core.annotation.Log;
import com.shensi.common.core.constant.CloudConstant;
import com.shensi.common.core.domain.AjaxResult;
import com.shensi.common.core.domain.model.LoginUser;
import com.shensi.common.core.enums.BusinessType;
import com.shensi.common.core.page.TableDataInfo;
import com.shensi.common.core.utils.SecurityUtils;
import com.shensi.common.core.utils.poi.ExcelUtil;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.ArrayList;
import java.util.List;


/**
 * @author mao
 */
@FeignClient(
        value = CloudConstant.ADMIN_SERVER,
        fallbackFactory = CustomerLabelHistoryClientFallBack.class)
@Component
public interface CustomerLabelHistoryClient {

    /**
     * 查询标签用户
     */
    @GetMapping(value = "/selectCustomerLabelInfoList")
    public TableDataInfo selectCustomerLabelInfoList(@SpringQueryMap CustomerLabelDemoDto customerLabelDemo);


    /**
     * 导出用户标签列表
     */
    @GetMapping("/selectCustomerLabelInfoListExport")
    public AjaxResult selectCustomerLabelInfoListExport(@SpringQueryMap CustomerLabelDemoDto customerLabelDemo);

}
